package com.example.entity;

import lombok.extern.log4j.Log4j2;

/**
 * @author readpage
 * @create 2022-09-09 21:51
 */
@Log4j2
public class UserTest {
    public static void main(String[] args) {
        //lombok
        User user = new User();
        user.setId(1).setName("李明")
                .setAge(20)
                .setMail("liming@qq.com");

        System.out.println(user);
        log.info("hello.txt world!");
    }
}
